[Firewall] Replace a firewall rule
Compute
[Firewall] Replace a firewall rule
Modify an existing firewall rule configuration. Changes will not take effect until firewall rules are applied to the instance.
PUT
[Firewall] Replace a firewall rule
Authorizations
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
Path Parameters
Unique identifier of the firewall rule.
Unique identifier of the compute instance.
Unique identifier of the organization that owns the resource.
Unique identifier of the project containing the resource.
Body
application/json
Rule name
Maximum string length:
255Rule description
inbound- Inboundoutbound- Outbound
Available options:
inbound, outbound accept- Acceptdrop- Dropreject- Reject
Available options:
accept, drop, reject tcp- TCPudp- UDPicmp- ICMPall- All
Available options:
tcp, udp, icmp, all Source IP en notation CIDR (ex: 0.0.0.0/0 pour tout)
Maximum string length:
100Destination IP en notation CIDR
Maximum string length:
100Priorité (plus petit = plus prioritaire)
Required range:
0 <= x <= 4294967295Response
Firewall rule updated successfully

